package i_innerclass;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package i_innerclass
 * @date 2024/3/31 下午4:38
 */
public class Test02 {
    public static void main(String[] args) {
        USB usb = method1();
        usb.open();

    }
    public static USB method1(){
        return new USB() {
            @Override
            public void open() {
                System.out.println("USB open");
            }
        };

    }
}
